package com.ruoyi.basice_info.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 知识点设置对象 tb_knowledge_points
 *
 * @author hongyi
 * @date 2023-12-25
 */
public class TbKnowledgePoints extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 知识点ID */
    @Excel(name = "知识点ID")
    private Long knowledgePointsId;

    /** 知识点代码 */
    @Excel(name = "知识点代码")
    private String knowledgePointsCode;

    /** 知识点名称 */
    @Excel(name = "知识点名称")
    private String knowledgePointsName;

    /** 单元ID */
    @Excel(name = "单元ID")
    private Long unitsId;

    private TbUnits tbUnits;

    public TbUnits getTbUnits() {
        return tbUnits;
    }

    public void setTbUnits(TbUnits tbUnits) {
        this.tbUnits = tbUnits;
    }

    public void setKnowledgePointsId(Long knowledgePointsId)
    {
        this.knowledgePointsId = knowledgePointsId;
    }

    public Long getKnowledgePointsId()
    {
        return knowledgePointsId;
    }
    public void setKnowledgePointsCode(String knowledgePointsCode)
    {
        this.knowledgePointsCode = knowledgePointsCode;
    }

    public String getKnowledgePointsCode()
    {
        return knowledgePointsCode;
    }
    public void setKnowledgePointsName(String knowledgePointsName)
    {
        this.knowledgePointsName = knowledgePointsName;
    }

    public String getKnowledgePointsName()
    {
        return knowledgePointsName;
    }
    public void setUnitsId(Long unitsId)
    {
        this.unitsId = unitsId;
    }

    public Long getUnitsId()
    {
        return unitsId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("knowledgePointsId", getKnowledgePointsId())
                .append("knowledgePointsCode", getKnowledgePointsCode())
                .append("knowledgePointsName", getKnowledgePointsName())
                .append("unitsId", getUnitsId())
                .append("tbUnits", getTbUnits())
                .toString();
    }
}
